<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>年历</title>
    <style type="text/css">
        body{
            text-align: center;
        }
        .box{
            width: 880px; 
            margin: 0 auto;
            }
        .title{
            background-color: #cccccc;
            }
        table{
            width: 200px;
            height: 200px;
            margin: 20px;
            float: left;
            text-align: center;
            font-size:12px ;
            }
    </style>
</head>
<body>

</body>


<script src="cal.js"></script>
<script type="text/javascript">
    var year=prompt("请输入年份:","2020");
    document.write(cal(year));
</script>
</html>